home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mmdf / mmdf-IIb.43 / h / d_script.h < prev    next >
Encoding:
Text File  |  1986-03-23  |  2.0 KB  |  39 lines

  1. #
  2. /*  script file command codes.  These values have been knocked
  3.  *  up to start at 10, as opposed to the previous 1, in order to
  4.  *  guarentee that they don't conflict with any of the return
  5.  *  values (D_...) which, for some reason, start at 2.
  6. */
  7.  
  8. # define  S_DIAL        10      /*  dial the remote system  */
  9. # define  S_XMIT        12      /*  transmit a string  */
  10. # define  S_RECV        13      /*  watch for a string  */
  11. # define  S_GO          14      /*  start the protocol  */
  12. # define  S_END         15      /*  drop the connection  */
  13. # define  S_XILL        16      /*  set illegal transmit characters  */
  14. # define  S_RILL        17      /*  set illegal receive characters  */
  15. # define  S_XPCK        18      /*  set max transmit packet size  */
  16. # define  S_RPCK        19      /*  set max receive packet size  */
  17. # define  S_RETR        20      /*  set number of retran. retries  */
  18. # define  S_TOAK        21      /*  set Time Out limit for AcK  */
  19. # define  S_TODA        22      /*  set Time Out limit for Data  */
  20. # define  S_SELST    23      /*  select begin  */
  21. # define  S_SELEND      24      /*  select end  */
  22. # define  S_ALT         25      /*  alternate  */
  23. # define  S_REM        26    /*  a comment (remember)  */
  24. # define  S_LOG        27      /*  log a message  */
  25. # define  S_ABORT       28      /*  abort the script  */
  26. # define  S_REPLAY      29      /*  Reuse old input  */
  27. # define  S_MARK    30    /*  Mark the place to start a reuse  */
  28. # define  S_PRTTY    31    /*  set tty status bits for protocol mode  */
  29. # define  S_SCTTY    32    /*  set tty status bits for script mode  */
  30. # define  S_DBLBUF    33    /*  status of double buffering  */
  31. # define  S_USEFILE    34    /*  Read script commands from another file  */
  32. # define  S_EOF        35      /*  not actually a command.  This is returned
  33.                  *  by 'getcmd' to indicate an EOF on the
  34.                  *  script src file.
  35.                  */
  36. # define  S_PROMPT    36    /*  check for a prompt from the host to which */
  37.                 /*  the master is speaking */
  38. # define  S_BILL    37    /*  start call logging on given number */
  39.